<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jQuery 互相转化</title>
</head>
<body>
    <div id="div">我是迪迦</div>
</body>
    <script src="../../js/jquery-3.3.1.min.js"></script>
    <script>
      //js -》jq
      let js = document.getElementById("div");
      let jq = $(js);
      alert(jq.html());

      //jq-》js
      let jq1 = $("#div");
      let js1 = jq1[0];
      alert(js1.innerText);

    </script>
</html>